{% extends 'inc/layout-base.twig' %}

{% block header %}
    {% include 'inc/header.twig' %}
{% endblock %}

{% block main %}

    {% block topnav %}
        {% include 'inc/navbar.twig' %}
    {% endblock %}

    <div class="row col-md-12">

    {#{% block sidebar %}#}
        {#{% if login_page is not defined %}#}
            {#<div class="page-sidebar col-md-2" id="sidebar">#}
                {#<ul class="nav sidebar-menu">#}
                    {#{{ side_menu | default('') | raw}}#}
                {#</ul>#}
            {#</div>#}
        {#{% endif %}#}
    {#{% endblock %}#}

    <div class="page-content">
        {% if login_page is not defined %}
        <div class="row pg_tip">
            <p>
                <i class="fa fa-tag"></i>
                <span>{{ pg_module|default('Dashboard') }}</span>
                <i class="fa fa-angle-double-right" style="margin:auto 10px;"></i>{{ pg_name|default('') }}
            </p>
        </div>
        {% endif %}
        {% block content %}
        <!-- put your main content here -->
        {% endblock %}

        {#<div class="copyright"><span>{{ lang('copyright') | raw }}</span></div>#}

    </div>

    </div>
{% endblock %}

{% block footer %}
    {% include 'inc/footer.twig' %}

    <script src="/public/js/require.js"></script>
    <script src="/public/js/lib/jquery-1.9.1.min.js"></script>
    <script src="/public/js/app.js"></script>

{% endblock %}


